<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>File Source for autoload.php</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
						<h1>Source for file autoload.php</h1>
<p>Documentation is available at <a href="../phpDocumentor/_config---autoload.php.html">autoload.php</a></p>
<div class="src-code">
<div class="src-code"><ol><li><div class="src-line"><a name="a1"></a><span class="src-php">&lt;?php&nbsp;&nbsp;</span><span class="src-key">if&nbsp;</span><span class="src-sym">(&nbsp;</span><span class="src-sym">!&nbsp;</span><a href="http://www.php.net/defined">defined</a><span class="src-sym">(</span><span class="src-str">'BASEPATH'</span><span class="src-sym">))&nbsp;</span><span class="src-key">exit</span><span class="src-sym">(</span><span class="src-str">'No&nbsp;direct&nbsp;script&nbsp;access&nbsp;allowed'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a2"></a><span class="src-comm">/*</span></div></li>
<li><div class="src-line"><a name="a3"></a><span class="src-comm">|&nbsp;-------------------------------------------------------------------</span></div></li>
<li><div class="src-line"><a name="a4"></a><span class="src-comm">|&nbsp;AUTO-LOADER</span></div></li>
<li><div class="src-line"><a name="a5"></a><span class="src-comm">|&nbsp;-------------------------------------------------------------------</span></div></li>
<li><div class="src-line"><a name="a6"></a><span class="src-comm">|&nbsp;This&nbsp;file&nbsp;specifies&nbsp;which&nbsp;systems&nbsp;should&nbsp;be&nbsp;loaded&nbsp;by&nbsp;default.</span></div></li>
<li><div class="src-line"><a name="a7"></a><span class="src-comm">|</span></div></li>
<li><div class="src-line"><a name="a8"></a><span class="src-comm">|&nbsp;In&nbsp;order&nbsp;to&nbsp;keep&nbsp;the&nbsp;framework&nbsp;as&nbsp;light-weight&nbsp;as&nbsp;possible&nbsp;only&nbsp;the</span></div></li>
<li><div class="src-line"><a name="a9"></a><span class="src-comm">|&nbsp;absolute&nbsp;minimal&nbsp;resources&nbsp;are&nbsp;loaded&nbsp;by&nbsp;default.&nbsp;For&nbsp;example,</span></div></li>
<li><div class="src-line"><a name="a10"></a><span class="src-comm">|&nbsp;the&nbsp;database&nbsp;is&nbsp;not&nbsp;connected&nbsp;to&nbsp;automatically&nbsp;since&nbsp;no&nbsp;assumption</span></div></li>
<li><div class="src-line"><a name="a11"></a><span class="src-comm">|&nbsp;is&nbsp;made&nbsp;regarding&nbsp;whether&nbsp;you&nbsp;intend&nbsp;to&nbsp;use&nbsp;it.&nbsp;&nbsp;This&nbsp;file&nbsp;lets</span></div></li>
<li><div class="src-line"><a name="a12"></a><span class="src-comm">|&nbsp;you&nbsp;globally&nbsp;define&nbsp;which&nbsp;systems&nbsp;you&nbsp;would&nbsp;like&nbsp;loaded&nbsp;with&nbsp;every</span></div></li>
<li><div class="src-line"><a name="a13"></a><span class="src-comm">|&nbsp;request.</span></div></li>
<li><div class="src-line"><a name="a14"></a><span class="src-comm">|</span></div></li>
<li><div class="src-line"><a name="a15"></a><span class="src-comm">|&nbsp;-------------------------------------------------------------------</span></div></li>
<li><div class="src-line"><a name="a16"></a><span class="src-comm">|&nbsp;Instructions</span></div></li>
<li><div class="src-line"><a name="a17"></a><span class="src-comm">|&nbsp;-------------------------------------------------------------------</span></div></li>
<li><div class="src-line"><a name="a18"></a><span class="src-comm">|</span></div></li>
<li><div class="src-line"><a name="a19"></a><span class="src-comm">|&nbsp;These&nbsp;are&nbsp;the&nbsp;things&nbsp;you&nbsp;can&nbsp;load&nbsp;automatically:</span></div></li>
<li><div class="src-line"><a name="a20"></a><span class="src-comm">|</span></div></li>
<li><div class="src-line"><a name="a21"></a><span class="src-comm">|&nbsp;1.&nbsp;Libraries</span></div></li>
<li><div class="src-line"><a name="a22"></a><span class="src-comm">|&nbsp;2.&nbsp;Helper&nbsp;files</span></div></li>
<li><div class="src-line"><a name="a23"></a><span class="src-comm">|&nbsp;3.&nbsp;Plugins</span></div></li>
<li><div class="src-line"><a name="a24"></a><span class="src-comm">|&nbsp;4.&nbsp;Custom&nbsp;config&nbsp;files</span></div></li>
<li><div class="src-line"><a name="a25"></a><span class="src-comm">|&nbsp;5.&nbsp;Language&nbsp;files</span></div></li>
<li><div class="src-line"><a name="a26"></a><span class="src-comm">|&nbsp;6.&nbsp;Models</span></div></li>
<li><div class="src-line"><a name="a27"></a><span class="src-comm">|</span></div></li>
<li><div class="src-line"><a name="a28"></a><span class="src-comm">*/</span></div></li>
<li><div class="src-line"><a name="a29"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a30"></a><span class="src-comm">/*</span></div></li>
<li><div class="src-line"><a name="a31"></a><span class="src-comm">|&nbsp;-------------------------------------------------------------------</span></div></li>
<li><div class="src-line"><a name="a32"></a><span class="src-comm">|&nbsp;&nbsp;Auto-load&nbsp;Libraries</span></div></li>
<li><div class="src-line"><a name="a33"></a><span class="src-comm">|&nbsp;-------------------------------------------------------------------</span></div></li>
<li><div class="src-line"><a name="a34"></a><span class="src-comm">|&nbsp;These&nbsp;are&nbsp;the&nbsp;classes&nbsp;located&nbsp;in&nbsp;the&nbsp;system/libraries&nbsp;folder</span></div></li>
<li><div class="src-line"><a name="a35"></a><span class="src-comm">|&nbsp;or&nbsp;in&nbsp;your&nbsp;system/application/libraries&nbsp;folder.</span></div></li>
<li><div class="src-line"><a name="a36"></a><span class="src-comm">|</span></div></li>
<li><div class="src-line"><a name="a37"></a><span class="src-comm">|&nbsp;Prototype:</span></div></li>
<li><div class="src-line"><a name="a38"></a><span class="src-comm">|</span></div></li>
<li><div class="src-line"><a name="a39"></a><span class="src-comm">|&nbsp;&nbsp;&nbsp;&nbsp;$autoload['libraries']&nbsp;=&nbsp;array('database',&nbsp;'session',&nbsp;'xmlrpc');</span></div></li>
<li><div class="src-line"><a name="a40"></a><span class="src-comm">*/</span></div></li>
<li><div class="src-line"><a name="a41"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a42"></a><span class="src-var">$autoload</span><span class="src-sym">[</span><span class="src-str">'libraries'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-str">'session'</span><span class="src-sym">,&nbsp;</span><span class="src-str">'user'</span><span class="src-sym">,&nbsp;</span><span class="src-str">'project'</span><span class="src-sym">,&nbsp;</span><span class="src-str">'database'</span><span class="src-sym">,&nbsp;</span><span class="src-str">'theme'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a43"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a44"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a45"></a><span class="src-comm">/*</span></div></li>
<li><div class="src-line"><a name="a46"></a><span class="src-comm">|&nbsp;-------------------------------------------------------------------</span></div></li>
<li><div class="src-line"><a name="a47"></a><span class="src-comm">|&nbsp;&nbsp;Auto-load&nbsp;Helper&nbsp;Files</span></div></li>
<li><div class="src-line"><a name="a48"></a><span class="src-comm">|&nbsp;-------------------------------------------------------------------</span></div></li>
<li><div class="src-line"><a name="a49"></a><span class="src-comm">|&nbsp;Prototype:</span></div></li>
<li><div class="src-line"><a name="a50"></a><span class="src-comm">|</span></div></li>
<li><div class="src-line"><a name="a51"></a><span class="src-comm">|&nbsp;&nbsp;&nbsp;&nbsp;$autoload['helper']&nbsp;=&nbsp;array('url',&nbsp;'file');</span></div></li>
<li><div class="src-line"><a name="a52"></a><span class="src-comm">*/</span></div></li>
<li><div class="src-line"><a name="a53"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a54"></a><span class="src-var">$autoload</span><span class="src-sym">[</span><span class="src-str">'helper'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-str">'url'</span><span class="src-sym">,&nbsp;</span><span class="src-str">'form'</span><span class="src-sym">,&nbsp;</span><span class="src-str">'file'</span><span class="src-sym">,&nbsp;</span><span class="src-str">'date'</span><span class="src-sym">,&nbsp;</span><span class="src-str">'html'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a55"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a56"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a57"></a><span class="src-comm">/*</span></div></li>
<li><div class="src-line"><a name="a58"></a><span class="src-comm">|&nbsp;-------------------------------------------------------------------</span></div></li>
<li><div class="src-line"><a name="a59"></a><span class="src-comm">|&nbsp;&nbsp;Auto-load&nbsp;Plugins</span></div></li>
<li><div class="src-line"><a name="a60"></a><span class="src-comm">|&nbsp;-------------------------------------------------------------------</span></div></li>
<li><div class="src-line"><a name="a61"></a><span class="src-comm">|&nbsp;Prototype:</span></div></li>
<li><div class="src-line"><a name="a62"></a><span class="src-comm">|</span></div></li>
<li><div class="src-line"><a name="a63"></a><span class="src-comm">|&nbsp;&nbsp;&nbsp;&nbsp;$autoload['plugin']&nbsp;=&nbsp;array('captcha',&nbsp;'js_calendar');</span></div></li>
<li><div class="src-line"><a name="a64"></a><span class="src-comm">*/</span></div></li>
<li><div class="src-line"><a name="a65"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a66"></a><span class="src-var">$autoload</span><span class="src-sym">[</span><span class="src-str">'plugin'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a67"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a68"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a69"></a><span class="src-comm">/*</span></div></li>
<li><div class="src-line"><a name="a70"></a><span class="src-comm">|&nbsp;-------------------------------------------------------------------</span></div></li>
<li><div class="src-line"><a name="a71"></a><span class="src-comm">|&nbsp;&nbsp;Auto-load&nbsp;Config&nbsp;files</span></div></li>
<li><div class="src-line"><a name="a72"></a><span class="src-comm">|&nbsp;-------------------------------------------------------------------</span></div></li>
<li><div class="src-line"><a name="a73"></a><span class="src-comm">|&nbsp;Prototype:</span></div></li>
<li><div class="src-line"><a name="a74"></a><span class="src-comm">|</span></div></li>
<li><div class="src-line"><a name="a75"></a><span class="src-comm">|&nbsp;&nbsp;&nbsp;&nbsp;$autoload['config']&nbsp;=&nbsp;array('config1',&nbsp;'config2');</span></div></li>
<li><div class="src-line"><a name="a76"></a><span class="src-comm">|</span></div></li>
<li><div class="src-line"><a name="a77"></a><span class="src-comm">|&nbsp;NOTE:&nbsp;This&nbsp;item&nbsp;is&nbsp;intended&nbsp;for&nbsp;use&nbsp;ONLY&nbsp;if&nbsp;you&nbsp;have&nbsp;created&nbsp;custom</span></div></li>
<li><div class="src-line"><a name="a78"></a><span class="src-comm">|&nbsp;config&nbsp;files.&nbsp;&nbsp;Otherwise,&nbsp;leave&nbsp;it&nbsp;blank.</span></div></li>
<li><div class="src-line"><a name="a79"></a><span class="src-comm">|</span></div></li>
<li><div class="src-line"><a name="a80"></a><span class="src-comm">*/</span></div></li>
<li><div class="src-line"><a name="a81"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a82"></a><span class="src-var">$autoload</span><span class="src-sym">[</span><span class="src-str">'config'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-str">'webclient'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a83"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a84"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a85"></a><span class="src-comm">/*</span></div></li>
<li><div class="src-line"><a name="a86"></a><span class="src-comm">|&nbsp;-------------------------------------------------------------------</span></div></li>
<li><div class="src-line"><a name="a87"></a><span class="src-comm">|&nbsp;&nbsp;Auto-load&nbsp;Language&nbsp;files</span></div></li>
<li><div class="src-line"><a name="a88"></a><span class="src-comm">|&nbsp;-------------------------------------------------------------------</span></div></li>
<li><div class="src-line"><a name="a89"></a><span class="src-comm">|&nbsp;Prototype:</span></div></li>
<li><div class="src-line"><a name="a90"></a><span class="src-comm">|</span></div></li>
<li><div class="src-line"><a name="a91"></a><span class="src-comm">|&nbsp;&nbsp;&nbsp;&nbsp;$autoload['language']&nbsp;=&nbsp;array('lang1',&nbsp;'lang2');</span></div></li>
<li><div class="src-line"><a name="a92"></a><span class="src-comm">|</span></div></li>
<li><div class="src-line"><a name="a93"></a><span class="src-comm">|&nbsp;NOTE:&nbsp;Do&nbsp;not&nbsp;include&nbsp;the&nbsp;&quot;_lang&quot;&nbsp;part&nbsp;of&nbsp;your&nbsp;file.&nbsp;&nbsp;For&nbsp;example&nbsp;</span></div></li>
<li><div class="src-line"><a name="a94"></a><span class="src-comm">|&nbsp;&quot;codeigniter_lang.php&quot;&nbsp;would&nbsp;be&nbsp;referenced&nbsp;as&nbsp;array('codeigniter');</span></div></li>
<li><div class="src-line"><a name="a95"></a><span class="src-comm">|</span></div></li>
<li><div class="src-line"><a name="a96"></a><span class="src-comm">*/</span></div></li>
<li><div class="src-line"><a name="a97"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a98"></a><span class="src-var">$autoload</span><span class="src-sym">[</span><span class="src-str">'language'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a99"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a100"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a101"></a><span class="src-comm">/*</span></div></li>
<li><div class="src-line"><a name="a102"></a><span class="src-comm">|&nbsp;-------------------------------------------------------------------</span></div></li>
<li><div class="src-line"><a name="a103"></a><span class="src-comm">|&nbsp;&nbsp;Auto-load&nbsp;Models</span></div></li>
<li><div class="src-line"><a name="a104"></a><span class="src-comm">|&nbsp;-------------------------------------------------------------------</span></div></li>
<li><div class="src-line"><a name="a105"></a><span class="src-comm">|&nbsp;Prototype:</span></div></li>
<li><div class="src-line"><a name="a106"></a><span class="src-comm">|</span></div></li>
<li><div class="src-line"><a name="a107"></a><span class="src-comm">|&nbsp;&nbsp;&nbsp;&nbsp;$autoload['model']&nbsp;=&nbsp;array('model1',&nbsp;'model2');</span></div></li>
<li><div class="src-line"><a name="a108"></a><span class="src-comm">|</span></div></li>
<li><div class="src-line"><a name="a109"></a><span class="src-comm">*/</span></div></li>
<li><div class="src-line"><a name="a110"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a111"></a><span class="src-var">$autoload</span><span class="src-sym">[</span><span class="src-str">'model'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a112"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a113"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a114"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a115"></a><span class="src-comm">/*&nbsp;End&nbsp;of&nbsp;file&nbsp;autoload.php&nbsp;*/</span></div></li>
<li><div class="src-line"><a name="a116"></a><span class="src-comm">/*&nbsp;Location:&nbsp;./system/application/config/autoload.php&nbsp;*/</span></div></li>
</ol></div>
</div>
	<p class="notes" id="credit">
		Documentation generated on Wed, 01 Dec 2010 09:13:43 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</body>
</html>